<?php
/**
 * 活动入口
 */
require_once dirname(dirname(__DIR__))."/common.php";
use app\cls\tom\Response;
use app\cls\tom\SysResource;
use app\cls\tom\Tools;
use app\cls\tom\Config;
use app\model\Activity;

$db = SysResource::getDB(false);
$Activity=new Activity($db);

//查询所有的活动
$activity_rukou=$Activity->activity_rukou();
if(empty($activity_rukou)){
    $activity_rukou=[];
}
Response::output(0,"查询成功",$activity_rukou);

